/*
 * $Id: SysCodeSearchCriteria.java 14 2014-08-15 11:50:17Z ratking $
 *
 * Copyleft (C) 2014 RatKing. All wrongs reserved.
 */
package cn.ratking.demo.jaws7.system.vo;

import java.io.Serializable;

import javax.inject.Named;

import org.omnifaces.cdi.ViewScoped;

/**
 * 系统代码查询条件
 */
@Named
@ViewScoped
public class SysCodeSearchCriteria implements Serializable {

    /** 代码类型 */
    private String codeType;
    /** 代码名称 */
    private String codeName;
    /** 代码值 */
    private String codeValue;

    /** 无参构造方法 */
    public SysCodeSearchCriteria() {
    }

    public String getCodeType() {
        return codeType;
    }

    public void setCodeType(String codeType) {
        this.codeType = codeType;
    }

    public String getCodeName() {
        return codeName;
    }

    public void setCodeName(String codeName) {
        this.codeName = codeName;
    }

    public String getCodeValue() {
        return codeValue;
    }

    public void setCodeValue(String codeValue) {
        this.codeValue = codeValue;
    }

    /**
     * 返回测试字符串
     *
     * @return 测试字符串
     */
    @Override
    public String toString() {
        StringBuilder sb = new StringBuilder();

        sb.append("[SysCodeSearchCriteria: codeType=").append(codeType);
        sb.append(", codeName=").append(codeName);
        sb.append(", codeValue=").append(codeValue);
        sb.append("]");

        return sb.toString();
    }
}
